<template>
  <div>
      <h1>这是搜索页面</h1>
       <h2>Params参数为：{{$route.params.keyWord}}===={{keyWord}}</h2>
        <h2>Query参数为:{{$route.query.k}}--------{{k}}</h2>
  </div>
</template>
<script>
  export default {
      name:'Search',
      props:['keyWord','k']
  }
</script>

<style scoped>
  
</style>